package cn.jslancer.repository;

import cn.jslancer.domain.Category;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jslancer
 * @date 2017/11/4
 */
@Repository
public interface CategoryRepository extends MongoRepository<Category, String> {
    List<Category> findByStatus();
}
